package com.huaxiafinance.management.mapper;

import com.huaxiafinance.management.model.PartnerCondition;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PartnerConditionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PartnerCondition record);

    int insertSelective(PartnerCondition record);

    PartnerCondition selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PartnerCondition record);

    int updateByPrimaryKey(PartnerCondition record);


    int deleteByPartnerGradeId(@Param( "partnerGradeId") Integer partnerGradeId);

    List<PartnerCondition> selectByPartnerGradeId(@Param( "partnerGradeId")Integer id);

    List<PartnerCondition> getListByGradeId(@Param("gradeId")Integer gradeId);

}